package com.wenwan.manage.pojo;

import java.io.Serializable;

/**
 * 购买发布次数_redis缓存
 * 
 * @author Admin
 *
 */
public class BuyReleaseTimes implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2260012157311672199L;

	/**
	 * 缓存的id
	 */
	private String id;

	/**
	 * 发布次数的id
	 */
	private String releaseTimesId;

	/**
	 * 发布次数的对象
	 */
	private ReleaseTimes releaseTimes;

	/**
	 * 购买数量
	 */
	private Integer number;

	/**
	 * 是否已处理（支付回调时判段）
	 */
	private Boolean isHandle;

	/**
	 * 微信订单号
	 */
	private String outTradeNo;

	/**
	 * 支付内容
	 */
	private String body;

	/**
	 * 用户id
	 */
	private String userId;

	public BuyReleaseTimes() {
		// TODO Auto-generated constructor stub
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public String getReleaseTimesId() {
		return releaseTimesId;
	}

	public void setReleaseTimesId(String releaseTimesId) {
		this.releaseTimesId = releaseTimesId;
	}

	public ReleaseTimes getReleaseTimes() {
		return releaseTimes;
	}

	public void setReleaseTimes(ReleaseTimes releaseTimes) {
		this.releaseTimes = releaseTimes;
	}

	public Boolean getIsHandle() {
		return isHandle;
	}

	public void setIsHandle(Boolean isHandle) {
		this.isHandle = isHandle;
	}

	@Override
	public String toString() {
		return "BuyReleaseTimes [id=" + id + ", releaseTimesId=" + releaseTimesId + ", releaseTimes=" + releaseTimes
				+ ", number=" + number + ", isHandle=" + isHandle + "]";
	}

	public String getOutTradeNo() {
		return outTradeNo;
	}

	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

}
